﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace PatientInformationExtract.MainInterface.Views
{
	/// <summary>
	/// Interaction logic for TimeLineTextBoxControl.xaml
	/// </summary>
	public partial class TimeLineTextBox : UserControl
	{
        private int _index;
        public int Index { get { return this._index; } }
        public string Time { set { this.txtTime.Text = value; } get { return this.txtTime.Text; } }
        public string TextContent { set { this.txtContent.Text = value; } get { return this.txtContent.Text; } }
        public string Type { set { this.txtType.Text = value; } get { return this.txtType.Text; } }




        public TimeLineTextBox(int index)
        {
            this.InitializeComponent();
            this.Height = 90;
            this.Width = 170;
            this.HorizontalAlignment = HorizontalAlignment.Left;
            this.VerticalAlignment = VerticalAlignment.Top;
            _index = index;
        }
		public TimeLineTextBox()
		{
			this.InitializeComponent();
            this.Height = 90;
            this.Width = 170;
            this.HorizontalAlignment = HorizontalAlignment.Left;
            this.VerticalAlignment = VerticalAlignment.Top;
            _index = -1;
		}
	}
}